import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';

import { EditorModule, TINYMCE_SCRIPT_SRC } from '@tinymce/tinymce-angular';

import { TinyEditorComponent } from './tiny-editor.component';
@NgModule({
  declarations: [TinyEditorComponent],
  imports: [CommonModule, EditorModule],
  providers: [{ provide: TINYMCE_SCRIPT_SRC, useValue: 'tinymce/tinymce.min.js' }],
  exports: [TinyEditorComponent]
})
export class TinyEditorModule {}
